﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBasic.Domain.RBAC
{
    /// <summary>
    /// 角色权限关系表
    /// </summary>
    //public class RolePermissions
    //{
    //    [Key]
    //    public int RPId { get; set; }

    //    public int RoleId { get; set; }

    //    public int PermissionId { get; set; }
    //}

    public class RolePermission
    {
        public int RoleId { get; set; }
        public Role Role { get; set; }
        public int PermissionId { get; set; }
        public Permission Permission { get; set; }
    }
}
